package com.china08.yxyapi.entity.mg.paper;

import java.util.List;

import javax.persistence.Id;

import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

import com.china08.yxyapi.entity.mg.MongoBaseEntityNoId;

/**
 * The Class TestPaper.
 */
@SuppressWarnings("serial")
@Document(collection = "yxy.tea.paper.ques")
public class PaperQues extends MongoBaseEntityNoId {

    /**
     * paperId + quesId
     */
    @Id
    private String id;

    /** The id. */
    @Field(value = "paper_id")
    private String paperId;

    /**
     * 试题id
     */
    @Field(value = "ques_id")
    public String quesId;

    /**
     * 试题分数
     */
    @Field(value = "score")
    public Integer score;

    /** 任务中题的序号 */
    @Field(value = "order")
    private Integer order;

    /** 知识点:ID */
    @Field(value = "know_id")
    private List<Integer> knowId;

    /** 知识点:Name */
    @Field(value = "know_name")
    private List<String> knowName;

    /**
     * 试题类型，使用题库中的的类型 （0--单选择题，1--多选择题，2--通知类, 3--填空 4--简答）"
     */
    @Field(value = "ques_type")
    private String quesType;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getPaperId() {
        return paperId;
    }

    public void setPaperId(String paperId) {
        this.paperId = paperId;
    }

    public String getQuesId() {
        return quesId;
    }

    public void setQuesId(String quesId) {
        this.quesId = quesId;
    }

    public Integer getScore() {
        return score;
    }

    public void setScore(Integer score) {
        this.score = score;
    }

    public Integer getOrder() {
        return order;
    }

    public void setOrder(Integer order) {
        this.order = order;
    }

    public List<Integer> getKnowId() {
        return knowId;
    }

    public void setKnowId(List<Integer> knowId) {
        this.knowId = knowId;
    }

    public List<String> getKnowName() {
        return knowName;
    }

    public void setKnowName(List<String> knowName) {
        this.knowName = knowName;
    }

    public String getQuesType() {
        return quesType;
    }

    public void setQuesType(String quesType) {
        this.quesType = quesType;
    }

}
